package cn.gcjxsc.form;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @author pumbaa
 * @since 1.0
 */
public class BankCardForm {
    @NotNull(message = "无效会员信息")
    private Integer memberId;
    @NotBlank(message = "开户行不能为空")
    private String bankName;
    @NotBlank(message = "支行信息不能为空")
    private String branchName;
    @NotBlank(message = "卡号不能为空")
    private String cardNo;
    @NotBlank(message = "持卡人姓名不能为空")
    private String cardHolder;

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getCardHolder() {
        return cardHolder;
    }

    public void setCardHolder(String cardHolder) {
        this.cardHolder = cardHolder;
    }
}
